﻿using Domain.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain
{
	public class SetLog : BaseEntity
	{
		public DateTime EndDateTime { get; set; }
		public Int32 Repetitions { get; set; }
		public Double Weight { get; set; }

		public static SetLog GetEmpty()
		{
			return new SetLog() { Repetitions = 0, Weight = 0.0 };
		}

		public Double GetTotal()
		{
			return Repetitions * Weight;
		}
	}
}
